﻿
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using KDS.Mes.Mes.AlcCodes.Dtos;
using KDS.Mes.Dto;

namespace KDS.Mes.Mes.AlcCodes
{
	/// <summary>
    /// ALCCode信息服务接口
    /// </summary>
    public interface IAlcCodeAppService : IApplicationService
    {
        #region ALCCode信息管理

        List<ComboboxItemDto> GetAllAlcCodeByStyleId(NullableIdDto<int> input);

        Task<ListResultDto<AlcCodeListDto>> GetalcCodes(GetAlcCodeInput input);
        PagedResultDto<AlcCodeListDto> GetPagedAlcCodes(GetAlcCodeInput input);
        /// <summary>
        /// 根据查询条件获取ALCCode信息分页列表
        /// </summary>
        Task<PagedResultDto<AlcCodeListDto>> GetPagedAlcCodesAsync(GetAlcCodeInput input);

        /// <summary>
        /// 通过Id获取ALCCode信息信息进行编辑或修改 
        /// </summary>
        Task<GetAlcCodeForEditOutput> GetAlcCodeForEditAsync(NullableIdDto<int> input);

		  /// <summary>
        /// 通过指定id获取ALCCode信息ListDto信息
        /// </summary>
		Task<AlcCodeListDto> GetAlcCodeByIdAsync(EntityDto<int> input);



        /// <summary>
        /// 新增或更改ALCCode信息
        /// </summary>
        Task CreateOrUpdateAlcCodeAsync(CreateOrUpdateAlcCodeInput input);





        /// <summary>
        /// 新增ALCCode信息
        /// </summary>
        Task<AlcCodeEditDto> CreateAlcCodeAsync(AlcCodeEditDto input);

        /// <summary>
        /// 更新ALCCode信息
        /// </summary>
        Task UpdateAlcCodeAsync(AlcCodeEditDto input);

        /// <summary>
        /// 删除ALCCode信息
        /// </summary>
        Task DeleteAlcCodeAsync(EntityDto<int> input);

        /// <summary>
        /// 批量删除ALCCode信息
        /// </summary>
        Task BatchDeleteAlcCodeAsync(List<int> input);

        #endregion

#region Excel导出功能



         /// <summary>
        /// 获取ALCCode信息信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetAlcCodeToExcel();

#endregion





    }
}
